import {
  post,
  get,
  put,
  dalete,
  postJosn,
  putone,
  patch
} from '../utils/request';

// //查询店员列表
export function queryStoreUserInfo(data) {
  return post('/api/user-service/v1/review/queryStoreUserInfo', data);
}
// //查询店员列表
export function qryReviewClerk(data) {
  return post('/api/user-service//v1/reviewClerk/qryReviewClerk', data);
}


// 新增店员列表
// export function editClerk(data) {
//   return post('/api/user-service/v1/review/editClerk', data);
// }
export function editClerk(data) {
  return post('/api/user-service/v1/storeClerkFiles/storeClerkFilesAddOrUpdate', data);
}

export function reviewClerkUpdate(data) {
  return post('/api/user-service//v1/reviewClerk/reviewClerkUpdate', data);
}

// 新增店员列表
export function deleteClerk(data) {
  return post('/api/user-service/v1/review/deleteClerk?uuid=' + data.uuid);
}

export function reviewClerkDelete(data) {
  return post('/api/user-service//v1/reviewClerk/reviewClerkDelete', data);
}

// 批量赠送云币
export function batchAddIntegral(data) {
  return post('/api/member-service/v1/member/batchAddIntegral', data);
}

// 商家会员数据导出
export function queryStoreUserInfoExport(data) {
  return post('/api/user-service/v1/review/queryStoreUserInfoExport', data)
}

export function exchangeRightSwitch(data) {
  return post('/api/user-service/v1/review/exchangeRightSwitch', data);
}